package fun.werfamily.wf.goods.core.domain.service;


import fun.werfamily.wf.base.vo.PageInfo;
import fun.werfamily.wf.goods.core.domain.dto.request.GoodsListReqDTO;
import fun.werfamily.wf.goods.core.domain.dto.request.GoodsSkuDetailReqDTO;
import fun.werfamily.wf.goods.core.domain.dto.response.GoodsSkuDTO;
import fun.werfamily.wf.goods.core.domain.dto.response.GoodsSpuDTO;

import java.util.List;

/**
 * @Author Mr.WenMing
 * @date 2022/8/20 16:31
 */
public interface GoodsService {

    /**
     * 商品列表
     *
     * @param goodsListReqDTO
     * @return
     */
    PageInfo<GoodsSpuDTO> goodsList(GoodsListReqDTO goodsListReqDTO);

    /**
     * 商品详情
     *
     * @param spuCode
     * @return
     */
    GoodsSpuDTO goodsSpuDetail(String spuCode);

    /**
     * 商品sku详情
     * @param goodsSkuDetailReqDTO
     * @return
     */
    List<GoodsSkuDTO> goodsSkuDetail(GoodsSkuDetailReqDTO goodsSkuDetailReqDTO);
}
